﻿using System;
using System.Collections.Generic;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 商品规格
    /// </summary>
    
    public partial class Article_spec
    {
        /// <summary>
        /// ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 父节点ID
        /// </summary>
        public int parent_id { get; set; }
        /// <summary>
        /// 规格标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 规格图片
        /// </summary>
        public string img_url { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 排序数字
        /// </summary>
        public int sort_id { get; set; }

        /// <summary>
        /// 规格值
        /// </summary>
        public List<Article_spec_value> values { get; set; }
    }

    /// <summary>
    /// 商品规格值
    /// </summary>
    
    public partial class Article_spec_value
    {
        /// <summary>
        /// ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 父节点ID
        /// </summary>
        public int parent_id { get; set; }
        /// <summary>
        /// 规格标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 规格图片
        /// </summary>
        public string img_url { get; set; }
        /// <summary>
        /// 排序数字
        /// </summary>
        public int sort_id { get; set; }
    }
}